﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using com.lover.astd.common.model;
using com.lover.astd.common.partner;

namespace com.lover.astd.game.ui
{
    class CommonReceiver : ILoginReceiver
    {
        private AccountData _acc;
        private BackgroundWorker _worker;
        public CommonReceiver(AccountData dt, BackgroundWorker worker) { _acc = dt; _worker = worker; }
        public void setLoginStatus(string status) { _worker.ReportProgress(0, status); }
        public AccountData getAccount() { return _acc; }
    }
}
